package com.dz.scrm.app.config

import android.content.Context
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import com.dz.scrm.utils.LoggerUtils
import com.squareup.leakcanary.RefWatcher
import me.jessyan.art.integration.cache.IntelligentCache
import me.jessyan.art.utils.ArtUtils
import timber.log.Timber

/**
 * 作者：fanda
 * 日期：2021/4/21 16:12
 * 描述：Fragment 生命周期监听
 */
class FragmentLifecycleCallbacksImpl : FragmentManager.FragmentLifecycleCallbacks() {

    override fun onFragmentAttached(fm: FragmentManager, f: Fragment, context: Context) {
//       LoggerUtils.d("$f - onFragmentAttached")
    }


    override fun onFragmentCreated(fm: FragmentManager, f: Fragment, savedInstanceState: Bundle?) {
//        LoggerUtils.d("$f - onFragmentCreated")
    }

    //...所有生命周期方法

}